package com.icxcc.generator.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource("classpath:generator.properties")
@ConfigurationProperties(
        prefix = "icxcc.generator"
)
@Data
public class GeneratorConfigProperties {
    private String outputDir;
    private boolean fileOverride = true;
    private boolean activeRecord = true;
    private boolean enableCache = false;
    private boolean baseResultMap = true;
    private boolean baseColumnList = false;
    private String author;
}
